package com.yc.commontlib;

import android.app.Application;
import android.util.Log;

/**
 * Creator: yc
 * Date: 2021/6/2 10:28
 * UseDes:
 */

public class HostProviderTest {
    private static HostProviderTest mInstant;

    public static HostProviderTest getInstance() {
        return mInstant;
    }

    private static Application mApplication;

    public static Application getApplication() {
        return mApplication;
    }

    public static String mMsg = "init";

    public static void init(Application application) {
        Log.e("HostProviderTest", "init");
        mInstant = new HostProviderTest();
        mApplication = application;
    }

    public static void print() {
        Log.e("HostProviderTest", "-----HostProviderTest------" + mMsg + "-----");
        Log.e("HostProviderTest", "-----HostProviderTest1------" + YcJetpack.INSTANCE.getMApplication().toString() + "-----");

    }
}
